3D Graphics Programming with QuickDraw 3D 1.5.4
Previous | QD3D Book | Overview | Chapter Contents | Next |
QuickDraw 3D provides routines that you can use to create and manipulate cylinders. See "Cylinders" for the definition of a cylinder.
You can use the Q3Cylinder_New function to create a new cylinder.
TQ3GeometryObject Q3Cylinder_New (const TQ3CylinderData *cylinderData);
You can use the Q3Cylinder_Submit function to submit an immediate cylinder for drawing, picking, bounding, or writing.
TQ3Status Q3Cylinder_Submit (
const TQ3CylinderData *cylinderData,
TQ3ViewObject view);
The Q3Cylinder_Submit function submits for drawing, picking, bounding, or writing the immediate cylinder whose shape and attribute set are specified by the cylinderData parameter. The cylinder is drawn, picked, bounded, or written according to the view characteristics specified in the view parameter.
You can use the Q3Cylinder_GetData function to get the data that defines a cylinder and its attributes.
TQ3Status Q3Cylinder_GetData (
TQ3GeometryObject cylinder,
TQ3CylinderData *cylinderData);
You can use the Q3Cylinder_SetData function to set the data that defines a cylinder and its attributes.
TQ3Status Q3Cylinder_SetData (
TQ3GeometryObject cylinder,
const TQ3CylinderData *cylinderData);
You can use the Q3Cylinder_EmptyData function to release the memory occupied by the data structure returned by a previous call to Q3Cylinder_GetData .
TQ3Status Q3Cylinder_EmptyData (TQ3CylinderData *cylinderData);
You can use the Q3Cylinder_GetOrigin function to get the origin of a cylinder.
TQ3Status Q3Cylinder_GetOrigin (
TQ3GeometryObject cylinder,
TQ3Point3D *origin);
You can use the Q3Cylinder_SetOrigin function to set the origin of a cylinder.
TQ3Status Q3Cylinder_SetOrigin (
TQ3GeometryObject cylinder,
const TQ3Point3D *origin);
You can use the Q3Cylinder_GetOrientation function to get the orientation of a cylinder.
TQ3Status Q3Cylinder_GetOrientation (
TQ3GeometryObject cylinder,
TQ3Vector3D *orientation);
You can use the Q3Cylinder_SetOrientation function to set the orientation of a cylinder.
TQ3Status Q3Cylinder_SetOrientation (
TQ3GeometryObject cylinder,
const TQ3Vector3D *orientation);
You can use the Q3Cylinder_GetMajorRadius function to get the major radius of a cylinder.
TQ3Status Q3Cylinder_GetMajorRadius (
TQ3GeometryObject cylinder,
TQ3Vector3D *majorRadius);
You can use the Q3Cylinder_SetMajorRadius function to set the major radius of a cylinder.
TQ3Status Q3Cylinder_SetMajorRadius (
TQ3GeometryObject cylinder,
const TQ3Vector3D *majorRadius);
You can use the Q3Cylinder_GetMinorRadius function to get the minor radius of a cylinder.
TQ3Status Q3Cylinder_GetMinorRadius (
TQ3GeometryObject cylinder,
TQ3Vector3D *minorRadius);
You can use the Q3Cylinder_SetMinorRadius function to set the minor radius of a cylinder.
TQ3Status Q3Cylinder_SetMinorRadius (
TQ3GeometryObject cylinder,
const TQ3Vector3D *minorRadius);
You can use the Q3Cylinder_GetCaps function to get the style of caps of a cylinder.
TQ3Status Q3Cylinder_GetCaps (
TQ3GeometryObject cylinder,
TQ3EndCap *caps);
You can use the Q3Cylinder_SetCaps function to set the style of caps of a cylinder.
TQ3Status Q3Cylinder_SetCaps (
TQ3GeometryObject cylinder,
TQ3EndCap caps);
You can use the Q3Cylinder_GetTopAttributeSet function to get the top attribute set of a cylinder.
TQ3Status Q3Cylinder_GetTopAttributeSet (
TQ3GeometryObject cylinder,
TQ3AttributeSet *topAttributeSet);
You can use the Q3Cylinder_SetTopAttributeSet function to set the top attribute set of a cylinder.
TQ3Status Q3Cylinder_SetTopAttributeSet (
TQ3GeometryObject cylinder,
TQ3AttributeSet topAttributeSet);
You can use the Q3Cylinder_GetFaceAttributeSet function to get the face attribute set of a cylinder.
TQ3Status Q3Cylinder_GetFaceAttributeSet (
TQ3GeometryObject cylinder,
TQ3AttributeSet *faceAttributeSet);
You can use the Q3Cylinder_SetFaceAttributeSet function to set the face attribute set of a cylinder.
TQ3Status Q3Cylinder_SetFaceAttributeSet (
TQ3GeometryObject cylinder,
TQ3AttributeSet faceAttributeSet);
You can use the Q3Cylinder_GetBottomAttributeSet function to get the bottom attribute set of a cylinder.
TQ3Status Q3Cylinder_GetBottomAttributeSet (
TQ3GeometryObject cylinder,
TQ3AttributeSet *bottomAttributeSet);
You can use the Q3Cylinder_SetBottomAttributeSet function to set the bottom attribute set of a cylinder.
TQ3Status Q3Cylinder_SetBottomAttributeSet (
TQ3GeometryObject cylinder,
TQ3AttributeSet bottomAttributeSet);
Previous | QD3D Book | Overview | Chapter Contents | Next |